#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <math.h>

int main()
{
	int i = 0;
	
	scanf("%d", &i);
	int a = pow(10,i);
	for (int n = 1; n < a ; n++)
	{
		printf("%d  ", n);
	}
	return 0;
}